<div>
  <div class="search-inp clearfix">
    <button class="btn-yellow font-white fr" data-toggle="modal" ng-click="addRole()">创建角色</button>
  </div>
  <table class="list-table text-c table table-striped">
    <thead class="bg-green font-white">
      <tr>
        <th>角色名称</th><th>描述</th><th>操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="item in roleList">
        <td ng-bind="item.role_name"></td>
        <td ng-bind="item.role_desc"></td>
        <td class="font-yellow cursor">
          <span ng-show="showRole(item.id)">
            <span data-toggle="modal" ng-click="modifyRole(item)">修改</span>
            <span>|</span>
            <span ng-click="deleteRole(item)">删除</span>
          </span>
        </td>
      </tr>
    </tbody>
  </table>
  <!--模态框创建，修改账号 和 关联柜员-->
  <pop-up name="{{title}}" show="show" height="400px" list="popUpList" on="submitRoleInfo()"></pop-up>
</div>
